<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../dist/sims.js"></script>
    <title>Document</title>
</head>
<body>  
    <div id="app">
        <p>**{{message.trim()}}**</p>
        <p s-text="message"></p>
        <div><div>444</div></div>
        <!-- 这是注释内容 -->
        <input type="text" s-model="message">
        <button click="handle">按钮</button>
</div>  
</body>
</html>
<script>
    var sims = new Sims({
        el:"#app",
        data:{
            message:' 这是一个demo ',
        },
        methods:{
            handle(){
                console.log(3333,this.message);
            }
        },
        created(){
            // todo 编译钩子
            console.log(232,this.$el);
        },
        mounted(){
            console.log();
        }
    })
</script>